import request from '@/utils/request'

export function getScheduleList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/schedule/getList',
    method: 'post',
    data: query
  })
}   

export function saveSchedule(query) {
  return request({
    url: '/examine/admin/schedule/save',
    method: 'post',
    data: query
  })
}

export function copySchedule(query) {
  return request({
    url: '/examine/admin/schedule/copy',
    method: 'post',
    data: query
  })
}

export function removeSchedule(query) {
  return request({
    url: '/examine/admin/schedule/remove',
    method: 'post',
    data: query
  })
}
export function getScheduleDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/schedule/getDetail',
    method: 'post',
    data: query
  })
}